package com.superc.client.data;
import java.io.Serializable;
import java.util.Date;

public class NotebookItem implements Serializable,INotebookItem{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long Id;
	
	private String Name;
	
	private String Content;
	
	private String Catelog;
	
	private Date StartTime;
	
	private Date EndTime;
	
	private Date CreateTime;
	
	public Long getId() {
		return Id;
	}

	public String getContent() {
		if(Content!=null)
			return Content;
		else
			return null;
	}

	public String getCatelog() {
		return Catelog;
	}

	public Date getStartTime() {
		return StartTime;
	}

	public Date getEndTime() {
		return EndTime;
	}

	public Date getCreateTime() {
		return CreateTime;
	}

	public NotebookItem(){
		
	}
	
	public NotebookItem(String name,String content, String catelog, Date startTime,
			Date endTime,Date createTime) {
		super();
		Name=name;
		Content =content;
		Catelog = catelog;
		StartTime = startTime;
		EndTime = endTime;
		CreateTime=createTime;
	}
	
	public String getName(){
		return this.Name;
	}
	
	@Override
	public void setId(long id) {
		Id=id;
	}

	@Override
	public void setContent(String content) {
		Content=content;
	}

	@Override
	public void setCatelog(String catelog) {
		Catelog=catelog;
	}

	@Override
	public void setStartTime(Date startTime) {
		StartTime=startTime;
	}

	@Override
	public void setEndTime(Date endTime) {
		EndTime=endTime;
	}

	@Override
	public void setCreateTime(Date createTime) {
		CreateTime=createTime;
	}

	@Override
	public void setName(String name) {
		Name=name;
	}
}
